package com.zjitc.demo.web1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class DemoWeb1Application {

	public static void main(String[] args) {
		SpringApplication.run(DemoWeb1Application.class, args);
	}

	@RequestMapping("/")
  public String home() {
	  return "hello world spring boot";
  }
}
